package homework;

public class WaterNum {
	public static void main(String[] args) {
		for(int i=100;i<=999;i++) {
			int Hun=i/100;
			int Ten=i%100/10;
			int Num=i%10;
			if(Hun*Hun*Hun+Ten*Ten*Ten+Num*Num*Num == i) {
				System.out.println(i+"is Waternum");
			}
		}
	}


}
